﻿<UserControl x:Class="ScopaSL.Rendering.CardRenderer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="154" d:DesignWidth="90" >
    
    <Canvas x:Name="LayoutRoot" Background="Transparent" Width="90" Height="154">
        <Canvas.Clip>
            <RectangleGeometry Rect="0,0,90,154"></RectangleGeometry>
        </Canvas.Clip>
        <Image Name="imageCard" Source="/ScopaSL;component/Content/Images/Decks/Deck_Siciliane.png" Stretch="Fill" >
            <Image.RenderTransform>
                <ScaleTransform ScaleX="0.84" ScaleY="0.845"></ScaleTransform>
            </Image.RenderTransform>
        </Image>
    </Canvas>
</UserControl>
